using Newtonsoft.Json;
using System;
using System.ComponentModel;

namespace ERPWinFormWork.Test.Test.Dtos
{
    /// <summary>
    /// 入料检验列表DTO
    /// </summary>
    public class InInspectionListDtos
    {

        [DisplayName("检验Id")]
        public int Id { get; set; }

        /// <summary>
        /// 检验编号
        /// </summary>
        [DisplayName("检验编号")]
        public string InspectionNode { get; set; }

        /// <summary>
        /// 检验单名称
        /// </summary>
        [DisplayName("检验单名称")]
        public string InspectionName { get; set; }

        /// <summary>
        /// 来料日期
        /// </summary>
        [DisplayName("来料日期")]
        public DateTime Shipment_Date { get; set; }

        /// <summary>
        /// 检验日期
        /// </summary>
        [DisplayName("检验日期")]
        public DateTime Inspection_Date { get; set; }

        

        /// <summary>
        /// 部门名称
        /// </summary>
        [DisplayName("部门")]
        public string DepartmentName { get; set; }

        


        /// <summary>
        /// 物料编号
        /// </summary>
        [DisplayName("物料编号")]
        public string MaterialNumber { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        [DisplayName("物料名称")]
        public string MaterialName { get; set; }

        /// <summary>
        /// 物料-规格型号
        /// </summary>
        [DisplayName("物料规格型号")]
        public string Specifications { get; set; }

        /// <summary>
        /// 物料-单位id
        /// </summary>
        [DisplayName("物料单位Id")]
        public int? Unit_Id { get; set; }

        /// <summary>
        /// 物料-单位名称
        /// </summary>
        [DisplayName("物料单位")]
        public string UnitName { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        [DisplayName("批次")]
        public string Batch { get; set; }

        /// <summary>
        /// 检测数量
        /// </summary>
        [DisplayName("检测数量")]
        public int? Inspection_Count { get; set; }

        /// <summary>
        /// 合格数量
        /// </summary>
        [DisplayName("合格数量")]
        public int? Qualified_Count { get; set; }

        /// <summary>
        /// 不合格数量
        /// </summary>
        [DisplayName("不合格数量")]
        public int? NoQualified_Count { get; set; }

        /// <summary>
        /// 致命缺陷率
        /// </summary>
        [DisplayName("致命缺陷率")]
        public int? Fatal_Defect_Rate { get; set; }

        /// <summary>
        /// 严重缺陷率
        /// </summary>
        [DisplayName("严重缺陷率")]
        public int? Serious_Defect_Rate { get; set; }

        /// <summary>
        /// 轻微缺陷率
        /// </summary>
        [DisplayName("轻微缺陷率")]
        public int? Minor_Defect_Rate { get; set; }

        /// <summary>
        /// 检测结果
        /// </summary>
        [DisplayName("检测结果")]
        public string Detection_Result { get; set; }

        /// <summary>
        /// 检验结果备注
        /// </summary>
        [DisplayName("备注")]
        public string Notes { get; set; }
    }
}
